package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.dto.NursingProjectPageQueryDto;
import com.zzyl.entity.nursing.NursingProject;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {
	/**
	 * 分页查询护理项
	 * @param pageNum
	 * @param pageSize
	 * @param name
	 * @param status
	 * @return
	 */
	PageBean<NursingProjectVo> pageNursingProject(Integer pageNum, Integer pageSize, String name, Integer status);
	
	/**
	 * 新增护理项目
	 * @param nursingProjectDto
	 * @return
	 */
	void saveNursingProject(NursingProjectDto nursingProjectDto);
	
	/**
	 * 根据主键查询详情
	 * @param id
	 * @return
	 */
	NursingProjectVo queryNursingProjectDetail(Long id);
	
	/**
	 * 修改护理项目
	 * @param nursingProjectDto
	 * @return
	 */
	void updateNursingProject(NursingProjectDto nursingProjectDto);
	
	/**
	 * 启用或者禁用
	 * @param id
	 * @param status
	 * @return
	 */
	void enableOrDisableNursingProject(Long id, Integer status);
	
	/**
	 * 删除护理项目
	 * @param id
	 * @return
	 */
	void removeNursingProject(Long id);
	
	/**
	 * 查询所有护理项目
	 * @return
	 */
	List<NursingProjectVo> queryAll();

	PageBean<NursingProjectVo> papegetlist(Integer pageNum, Integer pageSize, String name, Integer status);

	void insertgetNursingProject(NursingProjectVo nursingProjectVo);

	NursingProjectVo getidlist(Long id);

	void updatestate(NursingProjectVo nursingProjectVo);

	void getidandstatus(Long id, Integer status);

	void deleteidstatus(Long id);

	List<NursingProject> getidnursingStatus();
}
